#
#  Copyright 2019 The FATE Authors. All Rights Reserved.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: storage-basic.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='storage-basic.proto',
  package='com.webank.ai.fate.api.eggroll.storage',
  syntax='proto3',
  serialized_pb=_b('\n\x13storage-basic.proto\x12&com.webank.ai.fate.api.eggroll.storage\"\x86\x01\n\x0eStorageLocator\x12\x41\n\x04type\x18\x01 \x01(\x0e\x32\x33.com.webank.ai.fate.api.eggroll.storage.StorageType\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x10\n\x08\x66ragment\x18\x04 \x01(\x05*?\n\x0bStorageType\x12\x0c\n\x08LEVEL_DB\x10\x00\x12\r\n\tIN_MEMORY\x10\x01\x12\x08\n\x04LMDB\x10\x02\x12\t\n\x05REDIS\x10\x03\x62\x06proto3')
)

_STORAGETYPE = _descriptor.EnumDescriptor(
  name='StorageType',
  full_name='com.webank.ai.fate.api.eggroll.storage.StorageType',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='LEVEL_DB', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='IN_MEMORY', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='LMDB', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='REDIS', index=3, number=3,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=200,
  serialized_end=263,
)
_sym_db.RegisterEnumDescriptor(_STORAGETYPE)

StorageType = enum_type_wrapper.EnumTypeWrapper(_STORAGETYPE)
LEVEL_DB = 0
IN_MEMORY = 1
LMDB = 2
REDIS = 3



_STORAGELOCATOR = _descriptor.Descriptor(
  name='StorageLocator',
  full_name='com.webank.ai.fate.api.eggroll.storage.StorageLocator',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='type', full_name='com.webank.ai.fate.api.eggroll.storage.StorageLocator.type', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='namespace', full_name='com.webank.ai.fate.api.eggroll.storage.StorageLocator.namespace', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='name', full_name='com.webank.ai.fate.api.eggroll.storage.StorageLocator.name', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='fragment', full_name='com.webank.ai.fate.api.eggroll.storage.StorageLocator.fragment', index=3,
      number=4, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=64,
  serialized_end=198,
)

_STORAGELOCATOR.fields_by_name['type'].enum_type = _STORAGETYPE
DESCRIPTOR.message_types_by_name['StorageLocator'] = _STORAGELOCATOR
DESCRIPTOR.enum_types_by_name['StorageType'] = _STORAGETYPE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

StorageLocator = _reflection.GeneratedProtocolMessageType('StorageLocator', (_message.Message,), dict(
  DESCRIPTOR = _STORAGELOCATOR,
  __module__ = 'storage_basic_pb2'
  # @@protoc_insertion_point(class_scope:com.webank.ai.fate.api.eggroll.storage.StorageLocator)
  ))
_sym_db.RegisterMessage(StorageLocator)


# @@protoc_insertion_point(module_scope)
